package com.sgb.kjwl.model.entity.transport;

import java.io.Serializable;
import java.util.List;

public class GoodsSourceItemEntity implements Serializable {


    /**
     * totalRow : 11
     * pageNumber : 1
     * firstPage : true
     * lastPage : true
     * totalPage : 1
     * pageSize : 15
     * list : [{"no":"202004172725978","distance":"44.7km","endAddr":"哈密地区哈密市","goodsTypeName":"金属钢材","freight":"200元/吨","weight":"300吨","updateTime":"2020-04-17","id":"197","carLenName":"13.4米","startAddr":"乌鲁木齐市天山区","carTypeName":""}]
     */

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;
    private List<SourceItemEntity> list;

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<SourceItemEntity> getList() {
        return list;
    }

    public void setList(List<SourceItemEntity> list) {
        this.list = list;
    }

    public static class SourceItemEntity implements Serializable{
        /**
         * no : 202004172725978
         * distance : 44.7km
         * endAddr : 哈密地区哈密市
         * goodsTypeName : 金属钢材
         * freight : 200元/吨
         * weight : 300吨
         * updateTime : 2020-04-17
         * id : 197
         * carLenName : 13.4米
         * startAddr : 乌鲁木齐市天山区
         * carTypeName :
         */

        private String no;
        private String distance;
        private String endAddr;
        private String goodsTypeName;
        private String freight;
        private String weight;
        private String updateTime;
        private String id;
        private String carLenName;
        private String startAddr;
        private String carTypeName;

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getDistance() {
            return distance;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public String getEndAddr() {
            return endAddr;
        }

        public void setEndAddr(String endAddr) {
            this.endAddr = endAddr;
        }

        public String getGoodsTypeName() {
            return goodsTypeName;
        }

        public void setGoodsTypeName(String goodsTypeName) {
            this.goodsTypeName = goodsTypeName;
        }

        public String getFreight() {
            return freight;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCarLenName() {
            return carLenName;
        }

        public void setCarLenName(String carLenName) {
            this.carLenName = carLenName;
        }

        public String getStartAddr() {
            return startAddr;
        }

        public void setStartAddr(String startAddr) {
            this.startAddr = startAddr;
        }

        public String getCarTypeName() {
            return carTypeName;
        }

        public void setCarTypeName(String carTypeName) {
            this.carTypeName = carTypeName;
        }
    }
}
